class province:
    country = "中国"

    def __init__(self, name):
        self.name = name


obj = province("河南省")
print(obj.name)

print(obj.country)


class Foo:
    def __init__(self, name):
        self.name = name

    def ord_func(self):
        print("普通的")

    @classmethod
    def class_func(cls):
        print(cls)
        print("类方法")

    @staticmethod
    def static_func():
        print("静态方法")


f = Foo("zs")

f.ord_func()

f.class_func()


class dee:
    def fun(self):
        pass

    @property
    def prop(self):
        pass


obj1 = dee()

obj1.fun()
